<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('dbplayer/title/flexigrid') ?>',
                    colModel: [
                        {display: '<?= translate('ID') ?>', name: '_id', width: '120', process: formatSearch},
                        {display: '<?= translate('DBPLAYER_TITLE_ID') ?>', name: 'id', width: '50', process: formatSearch},
                        //{display: '<?= translate('DBPLAYER_TITLE')?>', name: 'title_id', width: '300'},
                        {display: '<?= translate('DBPLAYER_TITLE_STRENG')?>', name: 'strenglevel', width: '50'},
                        {display: '<?= translate('DBPLAYER_TITLE_REFINELEVEL')?>', name: 'refinelevel', width: '50'},
                        {display: '<?= translate('DBPLAYER_TITLE_REFINEEXP')?>', name: 'refineexp', width: '50'},
                        {display: '<?= translate('DBPLAYER_TITLE_STAR')?>', name: 'star', width: '50'},
                        {display: '<?= translate('DBPLAYER_TITLE_STAREXP')?>', name: 'starexp', width: '50'},
                        {display: '<?= translate('DBPLAYER_TITLE_STARLUCK')?>', name: 'starluck', width: '80'},
                        {display: '<?= translate('DBPLAYER_TITLE_STARCOST')?>', name: 'starcost', width: '100'},
                        <!--{display: '<?= translate('MENU_SKILL_NAME')?>', name: 'skillname', width: '200'},-->
                        //{display: '<?= translate('MENU_SKILL_LEVEL') ?>', name: 'level',width:'100',process: formatSearch},
                    ],
                    buttons: [
                              {name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},  
                    ],
                    //searchitems:[{display:'<?= translate('DBPLAYER_ROLEID') ?>',name:'roleid'}],
                }));
               
            });    
        </script>
    </body>
</html>